<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>开舱前的常规检查</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <style>
        .form-container {
            width: 100%;
            padding-top: 20px;
        }

        .form-container>h2 {
            margin: 0 auto;
            width: 500px;
            text-align: center;
        }

        .form-container>.form-wrapper {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            padding-top: 20px;
        }

        .form-container>.form-wrapper>div {
            width: 50%;
            margin-top: 10px;
        }

        .form-container>.form-wrapper>div>span {
            vertical-align: middle;
        }

        .form-container>.form-wrapper>div>span:nth-child(1) {
            display: inline-block;
            width: 30%;
            height: 30px;
            font-size: 14px;
            text-align: center;
        }

        .form-container>.form-wrapper>div>input {
            display: inline-block;
            width: 70%;
            height: 25px !important;
            font-size: 14px;
            text-align: center;
            vertical-align: middle;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.3);
        }

        .aui-form-list-wrapper,
        .aui-form-list-info-wrapper {
            display: flex;
            display: -webkit-flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            margin: 10px 0;
        }

        .aui-form-list-wrapper>li {
            width: 33.33%;
        }

        .aui-form-list-wrapper-content {
            width: 100%;
            display: flex;
            display: -webkit-flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            margin: 10px 0;
        }

        .header {
            text-align: center;
        }

        .aui-form-list-wrapper-content>li {
            width: 50%;
        }

        .aui-list-item-label {
            width: 100% !important;
        }

        .form-submit {
            width: 100%;
            text-align: center;
            margin-top: 50px;
        }

        .form-submit>button {
            width: 170px;
            height: 50px;
            text-align: center;
            background-color: #0064B0;
            color: #fff;
            padding-bottom: 10px;
            font-size: 20px;
        }

        .aui-list-item-input {
            color: #666 !important;
        }

        .aui-list-item-label,
        .aui-list-item-input,
        input[type="text"] {
            font-size: 0.6rem;
        }
    </style>
</head>

<body>
    <main id="app">
        <div class="form-container">
            <div class="header">
                检查日期
            </div>
            <div class="aui-content aui-margin-b-15">
                <ul class="aui-list aui-form-list aui-form-list-wrapper-content">
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                日期：
                            </div>
                            <div class="aui-list-item-input" id="asiTime" onclick="getDateTime()">
                                {{getDateTime}}
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                签名：
                            </div>
                            <div class="aui-list-item-input">
                                <input type="text" id="asiAutograph" placeholder="请填写签名">
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div>
            <div class="header">
                舱室
            </div>
            <div class="aui-content aui-margin-b-15">
                <ul class="aui-list aui-form-list aui-form-list-wrapper-content">
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                舱门：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiHatch" value="1" checked
                                    id="asiHatch">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                递物筒：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiDeliveryTube" value="1" checked
                                    id="asiDeliveryTube">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                安全连锁装置：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiSafetyInterlock" value="1" checked
                                    id="asiSafetyInterlock">
                            </div>
                        </div>
                    </li>







                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                空调:
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiAirConditioner" value="1" checked
                                    id="asiAirConditioner">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                测氧采样口:
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiSampling" value="1" checked
                                    id="asiSampling">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                应急呼叫装置：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiCallDevice" value="1" checked
                                    id="asiCallDevice">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                呼吸装具：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiBreathing" value="1" checked
                                    id="asiBreathing">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                急救供氧：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiFirstAid" value="1" checked
                                    id="asiFirstAid">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                负压吸引：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiNpAttract" value="1" checked
                                    id="asiNpAttract">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                心电监护：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiEcgMonitoring" value="1" checked
                                    id="asiEcgMonitoring">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                对讲装置：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiIntercom" value="1" checked
                                    id="asiIntercom">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                加减压阀：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiPressureValve" value="1" checked
                                    id="asiPressureValve">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                供排氧阀：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiOxygenValve" value="1" checked
                                    id="asiOxygenValve">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                显示流量计：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiDisplayFlowmeter" value="1" checked
                                    id="asiDisplayFlowmeter">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                监控电视：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiCctv" value="1" checked
                                    id="asiCctv">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                气源压力表：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiAirSource" value="1" checked
                                    id="asiAirSource">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                舱压压力表0.4：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiCabinPressureSi" value="1" checked
                                    id="asiCabinPressureSi">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                舱压压力表1.6：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiCabinPressureYi" value="1" checked
                                    id="asiCabinPressureYi">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                氧源压力表：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiOxygenSource" value="1" checked
                                    id="asiOxygenSource">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                测氧仪：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiOxygenMeter" value="1" checked
                                    id="asiOxygenMeter">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                UPS电源：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiUps" value="1" checked
                                    id="asiUps">
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label aui-list-item-input">
                                舱内外应急阀：
                            </div>
                            <div class="aui-list-item-input">
                                <input class="aui-checkbox" type="checkbox" name="asiEmergencyValve" value="1" checked
                                    id="asiEmergencyValve">
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="form-submit">
            <button onclick="insertHoAirSelfInspection()">提交</button>
        </div>
    </main>
</body>

</html>

<script src="../script/api.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/vue.js" charset="utf-8" type="text/javascript"></script>
<script src="../js/jquery.min.js" charset="utf-8" type="text/javascript"></script>
<script src="../js/ToConfigure.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-toast.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-dialog.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-tab.js" charset="utf-8" type="text/javascript"></script>
<script type="text/javascript">
    var vm;
    apiready = function () {
        vm = new Vue({
            el: '#app',
            data: {
                Query_UserList: [], //舱室操舱人员信息
                getDateTime: '选择日期',
                getTime: '选择时间'
            },
            created() {

            },
            watch: {
                searchInfo: function () { }
            },
            methods: {

            },
        })
    }
    // //选择时间
    // function getDateTime() {
    //     let _this = this;
    //     api.openPicker({
    //         type: 'date',
    //         title: '选择开始日期'
    //     }, function (ret, err) {
    //         if (ret) {
    //             var month = ret.month > 9 ? ret.month : '0' + ret.month;
    //             var day = ret.day > 9 ? ret.day : '0' + ret.day;
    //             vm.getDateTime = '' + ret.year +
    //                 '-' + month +
    //                 '-' + day
    //         }
    //     });
    // }


    function getTime() {
        api.openPicker({
            type: 'time',
            date: '08:30',
            title: '选择升压时间'
        }, function (ret, err) {
            if (ret) {
                vm.getTime = ret.hour +
                    ':' + ret.minute;
                console.log(ret.minute);
            }
        });
    }


    function closewin() {
        api.closeWin({
            name: 'disinfection-record-form'
        });
    }




    //添加高压氧消毒记录
    function insertHoAirSelfInspection() {

        //定义toast提示框
        var toast = new auiToast();
        var JsonStr = GetParameters();
        //获取所属医院IP地址
        var Url_IP = ToConfigure_IP("Gorgeous");
        if (JsonStr !== "") {
            $.ajax({
                url: Url_IP + '/disinfectioninspection/hoairselfinspection/insertHoAirSelfInspection',
                type: 'post',
                async: false,
                contentType: "application/json",
                dataType: "json",
                data: JsonStr,
                success: function (result) {
                    /**
                     * 验证返回信息是否为空
                     */
                    if (result.success == true) {
                        /**
                         * 操作成功提醒
                         */
                        JumpPage();
                    } else {
                        /**
                         *  提示错误信息
                         */
                        toast.fail({
                            title: "加载失败",
                            duration: 2000
                        });
                    }
                },
                error: function (result) {
                    /**
                     *  提示错误信息
                     */
                    toast.fail({
                        title: "加载失败",
                        duration: 2000
                    });
                }
            })
        }
    }

    //跳转页面
    function JumpPage() {
        var dialog = new auiDialog();
        dialog.alert({
            title: "提示",
            msg: '操作成功，是否跳转消毒记录记录单',
            buttons: ['取消', '确定']
        }, function (ret) {
            if (ret.buttonIndex === 1) {

            } else if (ret.buttonIndex === 2) {
                api.openWin({
                    name: 'HO_AirSelfInspection-header',
                    url: './HO_AirSelfInspection-header.html',
                    pageParam: {}
                });
            }
        })
    }





    //获取参数添氧舱消毒记录
    function GetParameters() {
        var jsParms = new Object();
        /**
      * 日期
      */
        jsParms.asiTime = $("#asiTime").text();
        /**
         * 周
         */
        jsParms.asiWeek = $("#asiWeek").val();

        /**
         * 签名
         */
        jsParms.asiAutograph = api.pageParam["userName"];


        /**
         * 舱门   单选按钮选中的话给周赋值
         */
        $('input[name=asiHatch]:checked').each(function () {
            jsParms.asiHatch = $(this).val();
        });
        if (jsParms.asiHatch == null || jsParms.asiHatch == undefined) {
            jsParms.asiHatch = 0;
        }

        /**
         * 递物筒
         */
        $('input[name=asiDeliveryTube]:checked').each(function () {
            jsParms.asiDeliveryTube = $(this).val();
        });
        if (jsParms.asiDeliveryTube == null || jsParms.asiDeliveryTube == undefined) {
            jsParms.asiDeliveryTube = 0;
        }

        /**
         * 安全连锁装置
         */
        $('input[name=asiSafetyInterlock]:checked').each(function () {
            jsParms.asiSafetyInterlock = $(this).val();
        });
        if (jsParms.asiSafetyInterlock == null || jsParms.asiSafetyInterlock == undefined) {
            jsParms.asiSafetyInterlock = 0;
        }

        /**
         * 空调
         */
        $('input[name=asiAirConditioner]:checked').each(function () {
            jsParms.asiAirConditioner = $(this).val();
        });
        if (jsParms.asiAirConditioner == null || jsParms.asiAirConditioner == undefined) {
            jsParms.asiAirConditioner = 0;
        }

        /**
         * 测氧采样口
         */
        $('input[name=asiSampling]:checked').each(function () {
            /**
             * 给周赋值
             */
            jsParms.asiSampling = $(this).val();
        });
        if (jsParms.asiSampling == null || jsParms.asiSampling == undefined) {
            jsParms.asiSampling = 0;
        }

        /**
         * 应急呼叫装置
         */
        $('input[name=asiCallDevice]:checked').each(function () {
            jsParms.asiCallDevice = $(this).val();
        });
        if (jsParms.asiCallDevice == null || jsParms.asiCallDevice == undefined) {
            jsParms.asiCallDevice = 0;
        }

        /**
         * 呼吸装具
         */
        $('input[name=asiBreathing]:checked').each(function () {
            jsParms.asiBreathing = $(this).val();
        });
        if (jsParms.asiBreathing == null || jsParms.asiBreathing == undefined) {
            jsParms.asiBreathing = 0;
        }

        /**
         * 急救供养
         */
        $('input[name=asiFirstAid]:checked').each(function () {
            jsParms.asiFirstAid = $(this).val();
        });
        if (jsParms.asiFirstAid == null || jsParms.asiFirstAid == undefined) {
            jsParms.asiFirstAid = 0;
        }
        /**
         * 负压吸引
         */
        $('input[name=asiNpAttract]:checked').each(function () {
            jsParms.asiNpAttract = $(this).val();
        });
        if (jsParms.asiNpAttract == null || jsParms.asiNpAttract == undefined) {
            jsParms.asiNpAttract = 0;
        }

        /**
         * 心电监护
         */
        $('input[name=asiEcgMonitoring]:checked').each(function () {
            jsParms.asiEcgMonitoring = $(this).val();
        });
        if (jsParms.asiEcgMonitoring == null || jsParms.asiEcgMonitoring == undefined) {
            jsParms.asiEcgMonitoring = 0;
        }
        /**
         * 舱内呼吸机
         */
        $('input[name=asiRespirator]:checked').each(function () {
            jsParms.asiRespirator = $(this).val();
        });
        if (jsParms.asiRespirator == null || jsParms.asiRespirator == undefined) {
            jsParms.asiRespirator = 0;
        }
        /**
         * 对讲装置
         */
        $('input[name=asiIntercom]:checked').each(function () {
            jsParms.asiIntercom = $(this).val();
        });
        if (jsParms.asiIntercom == null || jsParms.asiIntercom == undefined) {
            jsParms.asiIntercom = 0;
        }
        /**
         * 加减压阀
         */
        $('input[name=asiPressureValve]:checked').each(function () {
            jsParms.asiPressureValve = $(this).val();
        });
        if (jsParms.asiPressureValve == null || jsParms.asiPressureValve == undefined) {
            jsParms.asiPressureValve = 0;
        }
        /**
         * 供排氧阀
         */
        $('input[name=asiOxygenValve]:checked').each(function () {
            jsParms.asiOxygenValve = $(this).val();
        });
        if (jsParms.asiOxygenValve == null || jsParms.asiOxygenValve == undefined) {
            jsParms.asiOxygenValve = 0;
        }
        /**
         * 显示流量计
         */
        $('input[name=asiDisplayFlowmeter]:checked').each(function () {
            jsParms.asiDisplayFlowmeter = $(this).val();
        });
        if (jsParms.asiDisplayFlowmeter == null || jsParms.asiDisplayFlowmeter == undefined) {
            jsParms.asiDisplayFlowmeter = 0;
        }
        /**
         * 监控电视
         */
        $('input[name=asiCctv]:checked').each(function () {
            jsParms.asiCctv = $(this).val();
        });
        if (jsParms.asiCctv == null || jsParms.asiCctv == undefined) {
            jsParms.asiCctv = 0;
        }
        /**
         * 舱压压力表
         */
        $('input[name=asiCabinPressure]:checked').each(function () {
            jsParms.asiCabinPressure = $(this).val();
        });
        if (jsParms.asiCabinPressure == null || jsParms.asiCabinPressure == undefined) {
            jsParms.asiCabinPressure = 0;
        }
        /**
         * 供氧压力表
         */
        $('input[name=asiSupplyOxygen]:checked').each(function () {
            jsParms.asiSupplyOxygen = $(this).val();
        });
        if (jsParms.asiSupplyOxygen == null || jsParms.asiSupplyOxygen == undefined) {
            jsParms.asiSupplyOxygen = 0;
        }
        /**
         * 气源压力表
         */
        $('input[name=asiAirSource]:checked').each(function () {
            /**
             * 给周赋值
             */
            jsParms.asiAirSource = $(this).val();
        });
        if (jsParms.asiAirSource == null || jsParms.asiAirSource == undefined) {
            jsParms.asiAirSource = 0;
        }
        /**
         * 氧源压力表
         */
        $('input[name=asiOxygenSource]:checked').each(function () {
            jsParms.asiOxygenSource = $(this).val();
        });
        if (jsParms.asiOxygenSource == null || jsParms.asiOxygenSource == undefined) {
            jsParms.asiOxygenSource = 0;
        }
        /**
         * 测氧仪
         */
        $('input[name=asiOxygenMeter]:checked').each(function () {
            jsParms.asiOxygenMeter = $(this).val();
        });
        if (jsParms.asiOxygenMeter == null || jsParms.asiOxygenMeter == undefined) {
            jsParms.asiOxygenMeter = 0;
        }
        /**
         * 舱内温湿度仪
         */
        $('input[name=asiWarmHumid]:checked').each(function () {
            jsParms.asiWarmHumid = $(this).val();
        });
        if (jsParms.asiWarmHumid == null || jsParms.asiWarmHumid == undefined) {
            jsParms.asiWarmHumid = 0;
        }
        /**
         * 舱内外应急阀
         */
        $('input[name=asiEmergencyValve]:checked').each(function () {
            jsParms.asiEmergencyValve = $(this).val();
        });
        if (jsParms.asiEmergencyValve == null || jsParms.asiEmergencyValve == undefined) {
            jsParms.asiEmergencyValve = 0;
        }
        /**
         * 空气压缩机
         */
        $('input[name=asiAirCompressor]:checked').each(function () {
            jsParms.asiAirCompressor = $(this).val();
        });
        if (jsParms.asiAirCompressor == null || jsParms.asiAirCompressor == undefined) {
            jsParms.asiAirCompressor = 0;
        }
        /**
         * UPS电源
         */
        $('input[name=asiUps]:checked').each(function () {
            jsParms.asiUps = $(this).val();
        });
        if (jsParms.asiUps == null || jsParms.asiUps == undefined) {
            jsParms.asiUps = 0;
        }
        /**
         * 消防水罐
         */
        $('input[name=asiPitcher]:checked').each(function () {
            jsParms.asiPitcher = $(this).val();
        });
        if (jsParms.asiPitcher == null || jsParms.asiPitcher == undefined) {
            jsParms.asiPitcher = 0;
        }
        /**
         * 消防驱动气源
         */
        $('input[name=asiFireDriving]:checked').each(function () {
            /**
             * 给消防驱动气源赋值
             */
            jsParms.asiFireDriving = $(this).val();
        });

        if (jsParms.asiFireDriving == null || jsParms.asiFireDriving == undefined) {
            jsParms.asiFireDriving = 0;
        }
        /**
         * 舱压压力表0.4
         */
        $('input[name=asiCabinPressureSi]:checked').each(function () {
            jsParms.asiCabinPressureSi = $(this).val();
        });
        if (jsParms.asiCabinPressureSi == null || jsParms.asiCabinPressureSi == undefined) {
            jsParms.asiCabinPressureSi = 0;
        }
        /**
         * 舱压压力表1.6
         */
        $('input[name=asiCabinPressureYi]:checked').each(function () {
            jsParms.asiCabinPressureYi = $(this).val();
        });
        if (jsParms.asiCabinPressureYi == null || jsParms.asiCabinPressureYi == undefined) {
            jsParms.asiCabinPressureYi = 0;
        }
        /**
         * 备注
         */
        jsParms.asiRemarks = $("#asiRemarks").val();

        return JSON.stringify(jsParms);
    }





    function getDateTime() {
        api.openPicker({
            type: 'date_time',
            title: '选择开始日期'
        }, function (ret, err) {
            if (ret) {
                var year = ret.year;
                var month = ret.month;
                var day = ret.day;
                vm.getDateTime = '' + year +
                    '-' + month +
                    '-' + day
            }
        });
    }
</script>